// Button
@import '../assets/style/color.scss';

.btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  background: white;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  transition: .1s;
  &:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
  }
}

.btn-primary {
  background: $blue;
  color: white;
  &:hover {
    background: rgba($blue, .6);
    color: white;
  }
}

.btn-success {
  background: $success;
  color: white;
  &:hover {
    background: rgba($success, .6);
    color: white;
  }
}

.btn-warning {
  background: $warning;
  color: white;
  &:hover {
    background: rgba($warning, .6);
    color: white;
  }
}

.btn-danger {
  background: $danger;
  color: white;
  &:hover {
    background: rgba($danger, .6);
    color: white;
  }
}
